package com.oig.sys.msg.api.fallback;

import com.oig.sys.msg.api.MqMsgService;
import com.oig.sys.msg.dto.MqMsgDto;
import com.oig.sys.msg.vo.MqMsgVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MqMsgServiceFallBackImpl implements MqMsgService {


    @Setter
    private Throwable cause;

    @Override
    public MqMsgVo addMqMsg(MqMsgDto mqMsgDto) {
        log.error("addMqMsg feign error... ", cause);
        return null;
    }


}
